package com.cx.test;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package com.cx.test
 * @Description:
 * @Date 2025/5/20 20:28
 */

public class Demo2 {
    static final int SIZE = 2 * 1024 * 1024;

    public static void main(String[] args) {
        List<Object> list = new ArrayList<>();
        while (true) {
            list.add(new Object[SIZE]);
        }
    }
}